home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Oct 89 / Z0202-RE>C++ VMTs again-Oct89 < prev    next >
Encoding:
Text File  |  1989-10-30  |  1.7 KB  |  44 lines  |  [TEXT/GEOL]

  1. Item    0667052                         28-Oct-89        16:41
  2.  
  3. From:   SHEBANOW1                       Shebanow, Andrew
  4.  
  5. To:     UK0310                          Paul G Smith
  6.         MACAPP.TECH$                    MACAPP Tech
  7.  
  8. Sub:    RE>C++ VMTs again
  9.  
  10. Attn: Paul G Smith
  11. Attn: MacApp.Tech
  12. SentBy: Andrew Shebanow
  13.          Reply to:   RE>C++ VMTs again
  14. Sorry about the repeated messages. Our group is beta testing a
  15. QuickMail<->AppleLink gateway, and it goes nuts every once in a while. Its a
  16. great product, though. No more logging onto AppleLink four times a day!!!
  17.  
  18. Anyhow, to answer the rest of your question, standard C++ objects (those that
  19. do not derive from PascalObject) use the standard C++ dispatching scheme. You
  20. can't mix PascalObjects with non-PascalObjects - one of the limitations of
  21. PascalObjects is that they preclude multiple inheritance, since the Object
  22. Pascal dispatching scheme isn't designed to handle that sort of thing.
  23.  
  24. By the way, just to further cloud the issue, Apple also has two additional
  25. predefined base classes, HandleObject and SingleObject. SingleObjects use the
  26. older, C++ 1.2 dispatch scheme, which is more efficient than the C++ 2.0
  27. multiple inheritance scheme. HandleObjects use the same dispatch scheme as
  28. SingleObjects, but they are handle based instead of pointer based. So in a
  29. sense, there are actually four distinct different types of objects in Apple's
  30. C++, which can be used more or less interchangably.
  31.  
  32. And before anyone complains that we have corrupted or otherwise abused the
  33. language definition, Stroustrup saw our extensions in action at OOPSLA, and is
  34. said to have liked them.
  35.  
  36. Hope this answers your question fully.
  37.  
  38. Andrew Shebanow
  39. MacDTS
  40. Apple Computer
  41.  
  42.  
  43.  
  44.